<form class="layui-form layui-form-pane" action="{:url()}" method="post" id="editForm">
    <div class="layui-form-item">
        <label class="layui-form-label">所属星球</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-name" name="groupName" lay-verify="required" autocomplete="off" value="{$data_info.has_group.name}" readonly
                   placeholder="所属星球">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">发布人</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-name" name="userName" lay-verify="required" autocomplete="off" value="{$data_info.has_user.nick}" readonly
                   placeholder="发布人">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">主题内容</label>
        <div class="layui-input-inline">
            {$data_info.body}
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">点赞数</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-name" name="likes_count" lay-verify="required" autocomplete="off" value="{$data_info.likes_count}" readonly
                   placeholder="点赞数">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">评论数</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-name" name="comments_count" lay-verify="required" autocomplete="off" value="{$data_info.comments_count}" readonly
                   placeholder="评论数">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">发布时间</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-name" name="ctime" lay-verify="required" autocomplete="off" value="{$data_info.ctime}" readonly
                   placeholder="发布时间">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否推荐</label>
        <div class="layui-input-inline">
            <input type="radio" class="field-status" name="is_recommend" value="1" title="是" checked>
            <input type="radio" class="field-status" name="is_recommend" value="0" title="否">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否精华</label>
        <div class="layui-input-inline">
            <input type="radio" class="field-status" name="is_essence" value="1" title="是" checked>
            <input type="radio" class="field-status" name="is_essence" value="0" title="否">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">显示状态</label>
        <div class="layui-input-inline">
            <input type="radio" class="field-status" name="disabled" value="1" title="正常" checked>
            <input type="radio" class="field-status" name="disabled" value="0" title="关闭">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" name="id" class="field-id"/>
<!--            <button type="submit" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="formSubmit">提交</button>-->
            <a href="{:url('index')}" class="layui-btn layui-btn-primary ml10"><i class="aicon ai-fanhui"></i>返回</a>
        </div>
    </div>
</form>
{include file="block/layui" /}
<script>
    var formData = {:json_encode($data_info)};
</script>
<script src="__ADMIN_JS__/footer.js"></script>